﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindStyle.SPCalendar
{
    public enum EndType
    {
        NoEnd,
        ByInstances,
        ByDate
    }

    public enum Ordinal
    {
        First,
        Second,
        Third,
        Fourth,
        Last
    }

    [Flags]
    public enum DaysOfWeek
    {
        None = 0,
        Monday = 1,
        Tuesday = 2,
        Wednesday = 4,
        Thursday = 8,
        Friday = 16,
        Saturday = 32,
        Sunday = 64,
        WeekendDay = Saturday | Sunday,
        Weekday = Monday | Tuesday | Wednesday | Thursday | Friday,
        Day = Weekday | WeekendDay
    }

    public enum EventType
    {
        Simple,
        DailyByFrequency,
        DailyByWeekday,
        Weekly,
        MonthlyByDay,
        MonthlyByFrequency,
        YearlyByDay,
        YearlyByFrequency
    }

}
